//copied from http://www.cplusplus.com/forum/windows/58636/ 07.05.2014

#pragma once

#include <Windows.h>

HKEY OpenKey(HKEY hRootKey, wchar_t* strKey);
BOOL SetVal(HKEY hKey, LPCTSTR lpValue, DWORD data);
DWORD GetVal(HKEY hKey, LPCTSTR lpValue);